package com.order.api.constant;

/**
 * 删除标志枚举
 */
public enum DelFlgEnum implements BaseEnum<Integer> {

    NOT("未删除",0),
    YES("已删除",1),
    ;

    private String title;

    private int key;

    DelFlgEnum(String title, int key) {
        this.key = key;
        this.title = title;
    }

    @Override
    public Integer getKey() {
        return this.key;
    }

    @Override
    public String getTitle() {
        return this.title;
    }
}
